#!/bin/sh
#
# $OpenBSD: salt_master.rc,v 1.3 2014/06/17 12:30:39 ajacoutot Exp $

daemon="${TRUEPREFIX}/bin/salt-master -d"

. /etc/rc.d/rc.subr

rc_pre() {
	install -o _salt -g _salt -d /var/run/salt/
}

pexp="${MODPY_BIN} ${daemon}${daemon_flags:+ ${daemon_flags}}"
rc_reload=NO

rc_cmd $1
